import { createSSRApp } from "vue";
import App from "./App.vue";
import i18n from "./lang/i18n";
import "@minisheep/mini-program-polyfill-core/wechat-polyfill";
import { adapter } from "@minisheep/three-platform-adapter";
import { wechat } from "@minisheep/three-platform-adapter/wechat";
adapter.useAdapter(wechat);
export function createApp() {
  const app = createSSRApp(App);
  app.use(i18n);
  return {
    app,
  };
}
